package com.bibi.zoo.web.req;

import java.util.Objects;

public class ReqInput {
    private String phone;
    private String pwd;
    private String luckkey;

    public ReqInput() {
    }

    public ReqInput(String phone, String pwd) {
        this.phone = phone;
        this.pwd = pwd;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getLuckkey() {
        return luckkey;
    }

    public void setLuckkey(String luckkey) {
        this.luckkey = luckkey;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ReqInput reqInput = (ReqInput) o;
        return Objects.equals(phone, reqInput.phone) &&
                Objects.equals(pwd, reqInput.pwd);
    }

    @Override
    public int hashCode() {
        return Objects.hash(phone, pwd);
    }
}
